home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20041116-20060924 / 000096_robertls@nortelnetworks.com_Thu May 19 11:25:54 2005.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newshub.sdsu.edu!cyclone.bc.net!utnut!qcarhaaa.nortelnetworks.com!zcars129!not-for-mail
  2. From: "Robert Simmons" <robertls@nortelnetworks.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: How to compile kermit w/o buffers???
  5. Date: Wed, 18 May 2005 17:03:26 -0500
  6. Organization: Nortel Networks
  7. Lines: 38
  8. Message-ID: <d6ge3f$brc$1@zcars129.ca.nortel.com>
  9. NNTP-Posting-Host: robertls-1.us.nortel.com
  10. X-Trace: zcars129.ca.nortel.com 1116453807 12140 47.102.217.233 (18 May 2005 22:03:27 GMT)
  11. X-Complaints-To: hawkinsj@nortelnetworks.com
  12. NNTP-Posting-Date: Wed, 18 May 2005 22:03:27 +0000 (UTC)
  13. X-Priority: 3
  14. X-MSMail-Priority: Normal
  15. X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
  16. X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15333
  18.  
  19. Frank,
  20.  
  21. We got kermit to behave as we needed (without buffered output) by making the
  22. changes described by my colleauge below.  Would it be possible to have this
  23. fixed in the kermit source?.. and even better yet, a runtime flag that can
  24. be passed to toggle this behavior?
  25.  
  26. BTW, when I compiled with -DNONOSETBUF and tried "kermit -d" there is no log
  27. in the debug.log file for "concb setbuf"
  28.  
  29. Thanks,
  30. Robert
  31.  
  32. Hi Robert,
  33. I think the kermit issue has been solved. The solution is showed below,
  34.  
  35. 1) Download the cku211.tar.gz, unzip it, type the following command,
  36.  
  37.     make linux
  38.  
  39. The unbuffered feature is not built in.
  40.  
  41. 2) Using the following command,
  42.  
  43.     make linux "KFLAGS=-DNONOSETBUF"
  44.  
  45. The unbuffered feature does not work yet. Because in the file, ckutio.c, the
  46. line setbuf(stdout, NULL) is not executed at all.
  47.  
  48. 3) Add new lines in file, ckcmai.c,
  49.  
  50.     #ifdef NONOSETBUF
  51.     setbuf(stdout,NULL);
  52.     #endif /* NONOSETBUF */
  53.  
  54. And then the kermit works well.
  55.  
  56.